
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>FOP Example - Create PDF Using XML</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    


  </head>
  
 <body>
    <h3>Create PDF using XML and XSL-FOP</h3>
    <a href="http://localhost:8083/ApacheFOP2/servlet/CreatePDF" >Create example PDF</a>
    <h3>References</h3>
    
    	<li><a href='http://xmlgraphics.apache.org/fop/index.html'>XSL-FOP</a></li>
    	<li><a href='http://www.w3schools.com/xslfo/default.asp'>XSL-FO</a></li>
    	<li><a href='http://www.w3schools.com/xsl/default.asp'>XSLT</a></li>
    	<li><a href='http://www.w3schools.com/xpath/default.asp'>XPath</a></li>
  </body>
  
</html>
